///////////////////////////////////////////////////////////////
// acknex.cpp : Runtime EXE
///////////////////////////////////////////////////////////////
#define WIN32_LEAN_AND_MEAN		
#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>

#include "adll.h"

///////////////////////////////////////////////////////////////
int APIENTRY WinMain(HINSTANCE hInstance,	// application instance handle
                     HINSTANCE hPrevInstance, // always zero
                     LPTSTR    lpCmdLine,	// application command line
                     int       nCmdShow)	// window flags
{
	engine_open(lpCmdLine);
	while (engine_frame()); 
	engine_close();
	return 0;
}
